﻿function ShowAjaxPageCategory(action, categoryId) {
    $.ajax({
        url: 'Usercontrol/Admin/Book/frmCategory.aspx',
        type: "GET",
        data: { CategoryId: categoryId, Action: action },
        dataType: "html",
        success: function(data) {
            var popup = document.getElementById("popupContainer");
            popup.style.display = "block";
            $('#container').html(data);
        }
    });
}
